﻿@model PasswordRecoveryModel
@using SpotsHub.Gateway.Models.Customer;

@{
    Layout = "~/Views/Shared/_Layout.cshtml";

    ViewBag.Title = T("PageTitle.PasswordRecovery").Text;
    // +string+
}
<div class="password-recovery">
    @section top
	{
        <div class="full-width-image"><img src="~/Content/images/forgot-password.jpg" alt="Sign up today to receive one year free membership!" /></div>
    }
    <h3 class="page-title"><span class="title-image"></span> @T("Account.PasswordRecovery")</h3>

    <div class="password-recovery-content col-ms-12 col-sm-6 col-md-4">
        @if (!String.IsNullOrEmpty(Model.Result) && Model.Found == true)
        {
            @Model.Result
        }
        else
        {
            if (!String.IsNullOrEmpty(Model.Result))
            {
                @Model.Result
            }
            using (Html.BeginForm())
            {
                <p class="password-recovery-tooltip">@T("Account.PasswordRecovery.Tooltip")</p>
                @*<div class="form-label">@Html.LabelFor(model => model.Email)</div>*@
                <div class="info-input input-group">
                    <span class="input-group-addon"><i class="fa fa-envelope"></i></span>
                    @Html.TextBoxFor(model => model.Email, new { @class = "email form-control", @placeholder = "Your Email Address" })
                </div>

                <div class="buttons password-submit">
                    <input type="submit" name="send-email" class="btn btn-normal form-control password-recovery-button" value="@T("Account.PasswordRecovery.RecoverButton")" />
                </div>
            }
        }
        <div class="clear"></div>
    </div>

</div>